home *** CD-ROM | disk | FTP | other *** search
/ New Perspectives on Computer Concepts / New Perspectives on Computer Concepts.iso / np2010c / page749.pag < prev    next >
Portable Network Graphic  |  2008-10-02  |  135KB  |  817x1045  |  8-bit (256 colors)
Labels: book | chat room | hakham | sky
OCR: COMPUTER PROGRAMMING 681 has a value of 3. 142 Computer programmers think of variables and omn TERMINOL OGY NOTE stants as named memory locations, equivalent to empty boxes where data can be temporarily stored while being manipulated by computer program In the TIMEOFDAY Mac was program vari- In the Greeting program, %time% was a variable. The command set time timet put the value for the actual time into the %time% variable able. The command is +"%H")] TIMEOFDAY put the =$[ hour $(date of the How can problem statement specify when problem solved? After identifying the known information a programmer must day into the TIMEOFDAY specify how to determine when the problem has been solved. Usually this variable step means specifying the output you expect Of course you cannot spec- ify the answer ...